<?php include THEMES_PATH.'public/variables.phtml';?>
<?php global $user,$language_id;?>
<!--modal-->
<div class="modal-container">
  <!--modal: oreder query-->
  <div class="modal fade" id="orderQueryModal">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal"><span>&times;</span></button>
        </div>
        <div class="modal-body">
          <h3 class="modal-title align-center normal"><?php echo L('orderquery');?></h3>
          <div class="row">
            <form action="<?php echo url('order/query');?>" method="post" target="_blank" class="col-md-8 col-md-push-2" id="orderQueryForm">
              <div class="mt1x mb1x"><input type="text" name="order_sn" placeholder="<?php echo L('ordernumber');?>"></div>
              <div class="mb1x align-center js-field-box"><button type="submit" class="btn"><?php echo L('search');?></button></div>
            </form>
          </div>
        </div>
      </div>
    </div>
  </div>

  <!--modal:feedback-->
  <div class="modal fade" id="feedbackModal">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal"><span>&times;</span></button>
        </div>
        <div class="modal-body">
          <h3 class="modal-title align-center normal"><?php echo L('FEED_BACK');?></h3>
          <div class="row">
            <form class="col-md-8 col-md-push-2" id="feedbackForm">
              <div class="mt1x mb1x">
                <input type="text" name="email" placeholder="<?php echo L('YOUR_EMAIL');?>" />
              </div>
              <div class="mb1x">
                <textarea name="message" placeholder="<?php echo L('YOUR_OPINIONS_AND_SUGGESTIONS');?>"></textarea>
              </div>
              <div class="mb1x align-center js-field-box"><button type="submit" class="btn"><?php echo L('submit');?></button></div>
            </form>
          </div>
        </div>
      </div>
    </div>
  </div>

  <!--modal:subscribeEmail-->
  <div class="modal fade" id="subscribeEmail">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal"><span>&times;</span></button>
        </div>
        <div class="modal-body">
          <h3 class="modal-title align-center normal"><?php echo L('SUBSCRIB_EMAILS');?></h3>
          <div class="row">
            <form action="<?php echo url('order/query');?>" method="post" target="_blank" class="col-md-8 col-md-push-2 js-email-subscription">
              <div class="mt1x mb1x">
                <input type="text" name="email" placeholder="<?php echo L('YOUR_EMAIL');?>" class="width-full">
                <input type="hidden" name="is_ajax" value="1">
              </div>
              <div class="mb1x align-center"><button type="submit" class="btn"><?php echo L('submit');?></button></div>
            </form>
          </div>
        </div>
      </div>
    </div>
  </div>

</div>

<!--左侧导航栏-->
<div class="mobile-aside js-mobile-aside">
  <div class="nav-flyout-wrap">
    <nav class="mobile-nav js-mobile-nav">
      <ul>
        <li class="align-center">
          <a href="<?php echo url('/');?>" class="mobile-logo">
            <img src="/statics/front/images/icons/mobile-nav-logo.png" title="<?php echo url('/');?>">
          </a>
        </li>
        <li><a class="new" href="<?php echo url('product/all',array('src' =>base64_encode(url('product/all'))));?>"><?php echo L('_NEW_');?></a></li>
        <li>
          <a class="nav-dropdown" href="javascript:void(0)"><?php echo L('SHOP');?><i class="fa fa-chevron-right pull-right icon-more-info"></i></a>
          <ol class="nav-menu" hidden>
            <li><a href="<?php echo url(CATEGORY_URL_2093);?>"><?php echo L('_two_suit_U');?></a></li>
            <li><a href="<?php echo url(CATEGORY_URL_2061);?>"><?php echo L('_three_suit_U');?></a></li>
            <li><a href="<?php echo url(CATEGORY_URL_2104);?>"><?php echo L('_BLAZERS_');?></a></li>
            <li><a href="<?php echo url(CATEGORY_URL_2062);?>"><?php echo L('_SHIRTS_');?></a></li>
            <li><a href="<?php echo url(CATEGORY_URL_2066);?>"><?php echo L('_COATS_');?></a></li>
            <li><a href="<?php echo url(CATEGORY_URL_2103);?>"><?php echo L('_PANTS_');?></a></li>
            <li><a href="<?php echo url(CATEGORY_URL_2102);?>"><?php echo L('_VESTS_');?></a></li>
            <li><a href="<?php echo url(CATEGORY_URL_2163);?>"><?php echo L('_SHOS_');?></a></li>
             <!--  <li><a href="<?php echo url(CATEGORY_URL_2166);?>">牛仔裤</a></li> -->
            <li><a href="<?php echo url(CATEGORY_URL_2167);?>">羊绒衫</a></li>
            <li><a href="<?php echo url(CATEGORY_URL_2067);?>"><?php echo L('_ACCESSORIES_');?></a></li>
            <?php
              $menuList = NULL;
              if($menuList):
                foreach ($menuList as $menu):
                  if($menu['parentid']==0):
            ?>
            <li>
              <a href="<?php echo $menu['url']?>"><?php echo $menu['name']?><i class="icon">&gt;</i></a>
            </li>
            <?php
                  endif;
                endforeach;
              endif;
            ?>
            <li><a href="<?php echo url('/Customization/fabrics_kit');?>" rel="nofollow"><?php echo L('_Fabric_Swatches_');?></a></li>
           <!-- <li><a href="<?php /*echo url('/product/326-tape-measure');*/?>"><?php /*echo L('_tape_measure_');*/?></a></li>-->
          </ol>
        </li>
        <li><a href="<?php echo url('/schedule');?>">预约量体</a></li>
		<li><a href="<?php echo url('/schedule');?>">线下门店</a></li>
        <li><a href="<?php echo url('/product/product_mobile',array('src' =>""));?>">3D试衣间</a></li>
        <li><a href="<?php echo url('/groupBuying/wedding/index');?>">全民婚礼</a></li>
        <li><a href="<?php echo url('/groupBuying/group/');?>"><?php echo L('GROUP_ORDER');?></a></li>
        <li><a href="<?php echo url('/partner');?>"><?php echo L('PARTNER');?></a></li>
        <li><a href="<?php echo url('cart/info');?>"><?php echo L('shoppingcart');?></a></li>
        <li>
          <a class="nav-dropdown" href="javascript:void(0)"><?php echo L('_account_');?><i class="fa fa-chevron-right pull-right icon-more-info"></i></a>
          <ol class="nav-menu" hidden>
            <?php if (isset($user['id']) && $user['id']): ?>
		        <?php if($user['is_partner'] == 1):?>
            <li> <a href="<?php echo url('partner/center');?>"><?php echo L('partner_center');?></a></li>
            <li> <a href="<?php echo url('partner/order_list');?>"><?php echo L('login_1');?></a></li>
            <li> <a href="<?php echo url('partner/logout', $logoutSrc);?>"><?php echo L('logout');?></a></li>
            <?php else:?>
            <li> <a href="<?php echo url('user/order_list');?>"><?php echo L('login_1');?></a></li>
            <li> <a href="<?php echo url('user/user_measure');?>"><?php echo L('my_measure_header');?></a></li>
            <li> <a href="<?php echo url('user/logout', $logoutSrc);?>"><?php echo L('logout');?></a></li>
            <?php endif;?>
            <?php else:
              $jump_src = MODULE_NAME=='Cart' ? base64_encode(url(__SELF__)) : '';
            ?>
            <li><a href="<?php echo url('user/login',array('src' => $jump_src));?>"><?php echo L('login');?></a></li>
            <li><a href="<?php echo url('user/login',array('src' => $jump_src));?>"><?php echo L('register');?></a></li>
            <?php endif; ?>
          </ol>
        </li>
        <li>
          <a class="nav-dropdown" href="javascript:void(0)"><?php echo L('_more_');?><i class="fa fa-chevron-right pull-right icon-more-info"></i></a>
          <ol class="nav-menu" hidden>
            <li><a href="<?php echo url('/first-time');?>"><?php echo L('WHY_OWNONLY');?></a></li>
            <li><a href="<?php echo url('/article/media_reports');?>"><?php echo L('_buzz_media_');?></a></li>
            <li><a href="http://blog.sina.com.cn/u/5462360243" target="_blank"><?php echo L('blog');?></a></li>
          </ol>
        </li>
        <li><a href="javascript:;" data-toggle="modal" data-target="#orderQueryModal"><?php echo L('orderquery');?></a></li>
        <li><a href="javascript:;" data-toggle="modal" data-target="#feedbackModal"><?php echo L('FEED_BACK');?></a></li>
      </ul>
    </nav>
  </div>
</div>
<style>
	.public_notes{
		
		text-align: center;
		color: #fff;
		font-size: 15px;
		background-color: #ec6b65;
		height: 40px;
		line-height: 40px;
		display: none
	}
	.notes_content{
		max-width: 1200px;
		margin-right: auto;
		margin-left: auto;
	}
	.js-delete-notes{
		margin-left: 260px;
	}
</style>
<!-- <div class="public_notes hiden"><div class="notes_content"><span>通知：由于春节期间放假安排，2017年1月11日以后的订单将延迟至2月12日之后发货。</span><span class="ml1x delete js-delete-notes">×</span></div></div> -->
<!--右侧区域-->
<div class="header js-header">
  <div class="hi-xs top-bar">
    <div class="clearfix main-width">
      <ul class="pull-left">
        <li><a href="<?php echo url('/suits');?>"><?php echo L('WHY_OWNONLY');?></a></li>
        <li><a href="<?php echo url('special/referFriend');?>" target="_blank"><?php echo L('REFER_A_FRIEND');?></a></li>
        <li><a href="<?php echo url('/article/media_reports');?>"><?php echo L('_buzz_media_');?></a></li>
        <li><a href="http://blog.sina.com.cn/u/5462360243" target="_blank"><?php echo L('blog');?></a></li>
        <li class="rel qrcode">
          <a href="javascript:;">关注我们</a>
          <img src="/statics/front/images/qrcode.jpg?v=20160111" alt="衣来品牌">
        </li>
        <li>400-888-1532</li>
      </ul>
      <div class="pull-right">
        <div class="head-search">
          <input type="search" maxlength="50" value="<?php echo $keyword;?>" placeholder="<?php echo L('searchDefault');?>">
          <button type="button" class="fa fa-search js-search"></button>
        </div>
      </div>
    </div>
  </div>
  <div class="clearfix main-width">
    <span class="btn-mobile-nav js-btn-mobile-nav">
      <i></i>
    </span>
    <div class="pull-left nav js-nav">
      <a href="<?php echo url('/');?>" class="logo"><img src="/statics/front/images/logo.png" alt="<?php echo url('/');?>"></a>
      <ul class="hi-xs dib">
        <li><a href="<?php echo url('product/all',array('src' =>base64_encode(url('product/all'))));?>"><?php echo L('_NEW_');?></a></li>
        <li style="margin-right:1.8em;">
          <a href="<?php echo url('index/shopping');?>"><?php echo L('SHOP');?> <i class="triangle-down"></i></a>
          <div class="sub-nav">
            <a href="<?php echo url(CATEGORY_URL_2093);?>"><?php echo L('_two_suit_U');?></a>
            <a href="<?php echo url(CATEGORY_URL_2061);?>"><?php echo L('_three_suit_U');?></a>
            <a href="<?php echo url(CATEGORY_URL_2104);?>"><?php echo L('_BLAZERS_');?></a>
            <a href="<?php echo url(CATEGORY_URL_2062);?>"><?php echo L('_SHIRTS_');?></a>
            <a href="<?php echo url(CATEGORY_URL_2066);?>"><?php echo L('_COATS_');?></a>
            <a href="<?php echo url(CATEGORY_URL_2103);?>"><?php echo L('_PANTS_');?></a>
            <a href="<?php echo url(CATEGORY_URL_2102);?>"><?php echo L('_VESTS_');?></a>
            <a href="<?php echo url(CATEGORY_URL_2163);?>"><?php echo L('_SHOS_');?></a>
            <!-- <a href="<?php echo url(CATEGORY_URL_2166);?>">牛仔裤</a> -->
            <a href="<?php echo url(CATEGORY_URL_2167);?>">羊绒衫</a>
            <a href="<?php echo url(CATEGORY_URL_2067);?>"><?php echo L('_ACCESSORIES_');?></a>
            <a class="divider"></a>
            <a href="<?php echo url('/Customization/fabrics_kit');?>" rel="nofollow"><?php echo L('_Fabric_Swatches_');?></a>
            <!-- <a href="<?php /*echo url('/product/326-tape-measure');*/?>"><?php /*echo L('_tape_measure_');*/?></a>-->
            <a href="<?php echo url('/gift');?>" class="item-gift-card"><?php echo L('gift_card');?></a>
          </div>
        </li>
        <li><a href="<?php echo url('/groupBuying/wedding/index');?>">全民婚礼</a></li>
        <li><a href="<?php echo url('/special/tenancy');?>"><?php echo L('SPECIAL_TENANCY');?></a></li>
        <!-- <li><a href="<?php echo url('/partner');?>"><?php echo L('PARTNER');?></a></li>  -->
		<li><a href="<?php echo url('/schedule');?>">线下门店</a></li>
        <li><a href="<?php echo url('/product/all');?>?fullscreen">3D试衣间</a></li>
      </ul>
    </div>
    <div class="pull-right header-right">
      <?php if (isset($user['id']) && $user['id']): ?>
      <span class="hi-xs header-account">
        <a href="javascript:;">
          <em class="fa fa-lg fa-user"></em>
          <i class="triangle-down"></i>
        </a>
        <span class="subset">
          <?php if($user['is_partner'] == 1):?>
          <a href="<?php echo url('partner/center');?>"><?php echo L('partner_center');?></a>
          <a href="<?php echo url('partner/order_list');?>"><?php echo L('login_1');?></a>
          <a href="<?php echo url('partner/logout', $logoutSrc);?>"><?php echo L('logout');?></a>
          <?php else:?>
          <a href="<?php echo url('user/order_list');?>"><?php echo L('login_1');?></a>
          <a href="<?php echo url('user/user_measure');?>"><?php echo L('my_measure_header');?></a>
          <a href="<?php echo url('user/logout', $logoutSrc);?>"><?php echo L('logout');?></a>
          <?php endif;?>
        </span>
      </span>
      <?php else:
        $jump_src = MODULE_NAME=='Cart' ? base64_encode(url(__SELF__)) : '';
      ?>
      <a href="<?php echo url('user/login',array('src' => $jump_src));?>" rel="nofollow" class="hi-xs vm" style="color:#3eabb8;"><?php echo L('_account_');?></a>
      <?php endif; ?>
      <a href="<?php echo url('cart/info');?>" rel="nofollow" class="vm shopping-cart"><strong id="shoppingCartNumber"><?php echo $headerCartCount;?></strong></a>
    </div>
  </div>
</div>
<!-- build:js /statics/front/pkg/js/keep-position.js -->
<script src="/statics/front/js/functions/imgReady.js"></script>
<script src="/statics/front/js/functions/keepPosition.js"></script>
<!-- endbuild -->
<!-- build:js /statics/front/pkg/js/header.js -->
<script src="/statics/front/js/scripts/header.js"></script>
<!-- endbuild -->